package com.cc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration //配置类
@ComponentScan("com.cc.controller")  //扫描包
@EnableWebMvc // 开启SpringMVC的功能
public class SpringMvcConfig implements WebMvcConfigurer {
}
